home *** CD-ROM | disk | FTP | other *** search
Wrap
# This is a generated file. Do not edit. from template import Handle, fillAttr, quoteAndFillAttr, funcTable from IOBuffer import IOBuffer from xhtmltools import urlencode from templatehelper import quoteattr, escape, evalKey, toUni def fillTemplate(data, domHandler): # Start of handle handle = Handle(domHandler) handle.makeNamedView(u'feeds',u'folder feedlist',None,None,None,None,None,False,None,None,False,data) handle.addView('tmplcomp50021285','nextSibling',handle.findNamedView(u'feeds').getView(),[(0, u'<a class='), (10, u'feeditem infolder'), (3, None), (0, u'\n<img src='), (10, u'resource:images/feedicon.png'), (0, u' class='), (10, u'icon'), (0, u'></img><span class='), (10, u'name'), (0, '>'), (4, u'this getTitle'), (0, u'</span>\n</a>')], data, u'feeds') out = IOBuffer() out.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n") out.write(u'<span xmlns:t=') out.write(quoteAndFillAttr(u'http://www.participatorypolitics.org/',data)) out.write(u'>\n\n \n \n\n<a class=') out.write(quoteAndFillAttr(u'feeditem selected_feeditem',data)) out.write(u'>\n<img src=') out.write(quoteAndFillAttr(u'resource:images/arrow.png',data)) out.write(u' class=') out.write(quoteAndFillAttr(u'icon',data)) out.write(u'></img><span class=') out.write(quoteAndFillAttr(u'name',data)) out.write('>') out.write(escape(evalKey(u'folder getTitle',data))) out.write(u'</span>\n</a>\n<span id="tmplcomp50021285"/>\n</span>') out.close() return (out, handle)